hfLegendR Documentation

Display Hf legend

Description

Displays a graphical legend explaining the current assignment of plotting symbols and colours used by the HafAn plugin.

Usage

hfLegend(pos = "topright", new.plot = TRUE, main = NULL, ...)

Arguments

pos

position of the legend.

new.plot

logical: shall be opened a new plotting window for the legend?

main

character; (optional) name of the legend window

...

any additional parameters for the function legend.

Details

The current assignment of plotting symbols and colours is based on 'groups' which need to be defined beforehand. See Examples.

Value

None.

Plugin

Hf.r

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

legend, figLegend, showLegend assignSymbGroup, groupsByLabel

Examples

    sampleDataset("khantaishir_Hf")
    groupsByLabel("sample") 
        
    hfAgeEps2(1:39, xmin = 0.35, xmax = 1.3, ymax = 16, 
        evol.lines1 = FALSE, evol.lines2 = FALSE, age.hist = TRUE,
        cex = 1.5, rugs = TRUE) 
    
    hfLegend("topleft")